package com.yst.suivi;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

public class SuiviRessources
{
	private static ResourceBundle bundle = null;
	static
	{
		bundle = ResourceBundle.getBundle("com.yst.suivi.Ressources");
	}

	public static String getString(String key)
	{
		String retour;
		try
		{
			retour = bundle.getString(key);
		}
		catch (MissingResourceException e)
		{
			StringBuffer buf = new StringBuffer();
			buf.append("????? ").append(key).append(" ?????");
			retour = buf.toString();
		}
		return retour;
	}
}
